<?php

$jige=75;

$css = 80;
$js = 90;
$wangye = 85;
$avg = ($css + $js + $wangye)/3;

echo "平均分的及格线=$jige</br>";
echo "样式表=$css</br>";
echo "网页设计=$wangye</br>";
echo "Js=$js</br>";
echo "你的平均分=$avg</br>";
echo "你的分数：</br>";
if($avg >=$jige){
    echo "及格";
}else {
    echo "不及格";
}
